services.xsuspender.rules.<name>.execSuspend

Before suspending, execute this shell script. If it fails, abort suspension.

Type
null or string
Default
null
Example
"echo \"suspending window $XID of process $PID\""
Declared
<home-manager/modules/services/xsuspender.nix>